package com.student.manage.entity.model;

import com.student.manage.entity.LoginToken;
import com.student.manage.entity.User;

public class UserTokenInfo {
    public static final String TOKEN_INFO_KEY = "token_info";
    private LoginToken token;
    private User user;

    public UserTokenInfo(LoginToken token, User user) {
        this.token = token;
        this.user = user;
    }

    public LoginToken getToken() {
        return token;
    }

    public void setToken(LoginToken token) {
        this.token = token;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
